package ecoll.client.quiz;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;


public interface QuizServiceAsync {

	public void createRoom(String roomName, int period, int delay,
			ArrayList<Long> files, AsyncCallback<String> async);

	public void joinRoom(String roomName, AsyncCallback<String> async);

	public void leaveRoom(String roomName, AsyncCallback<Void> async);

	public void getRanking(String roomName,
			AsyncCallback<ArrayList<QuizUserData>> async);

	public void userActivity(String roomName, String activity,
			AsyncCallback<Boolean> async);

	public void getQuestion(String roomName, AsyncCallback<String> async);
}
